package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Setter@Getter
public class Exam extends BaseDomain{

    private Client client;

    private Clazz clazz;

    private DictionaryItem examType;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT-8")
    private Date examTime;

    private boolean result;  //考试结果

    private String remark;

    private Employee handler; //处理人当前登录用户
}
